package com.launch.wlfw.service;

import com.github.pagehelper.PageInfo;
import com.launch.wlfw.pojo.Notice;

import java.util.List;

public interface NoticeService {
    //查询所有类型信息
    PageInfo<Notice> findAllInfo(Notice notice, Integer pageNum , Integer pageSize);
    //添加类型信息
    Integer addInfo(Notice notice);
    //删除类型信息
    Integer delInfoByID(String ids);
    //修改类型信息
    Integer updateInfo(Notice notice);
    //更改后查询
    Notice queryById(long id);

    List<Notice> selectAllNotice();
}
